<!DOCTYPE html>
<!-- saved from url=(0036)https://8.m.tuniu.com/msite/mywallet -->
<html lang="ch-ZN">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" href="/js/plugins/bootstrap-4.1.1-dist/css/bootstrap.min.css"/>
    <script src="/js/plugins/jquery/jquery.min.js"></script>
    <link rel="stylesheet" href="/css/font/css/font-awesome.min.css"/>
    <link rel="stylesheet" href="/css/reset.css"/>
    <link rel="stylesheet" href="/css/myProfiles.css"/>
    <script src="/js/plugins/jrender/jrender.min.js"></script>
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <script>
        $(function () {
            var user = JSON.parse(sessionStorage.getItem("user"));
            $(".balance").renderValues(user);
            //跳转到充值界面
            $(".skipBnt").click(function () {
                window.location.href = "/mine/tixian.html"
            })
        })
    </script>
    <title>钱包余额</title>
    <link type="text/css" rel="stylesheet" href="/css/Pursebalance_files/balance.css">
</head>
<body>
<div id="J_appDownloadRenderBox"></div>
<header class="header-box fixed" id="header">
    <a href="/mine/myWallet.html">
            <span class="header-back">
                <i class="fa fa-angle-left fa-2x"></i>
            </span>
    </a>
</header>
<div class="balance-panel balance">
    <p>余额（元）</p>
    <p class="amount" render-html="balance"></p>
</div>
<div class="balance-action">
    <div class="action-item ">
        <a href="recharge.html"><i class="icon-recharge"></i>充值（转入）</a>
    </div>
    <div class="action-item skipBnt">
        <a href=""><i class="icon-withdraw"></i>提现（转出）</a>
    </div>
</div>

<p class="warn"></p>

<script src="/css/Pursebalance_files/zepto.js.下载"></script>
<script type="text/javascript">
    $(function () {
        var error = '';
        if ('false' == error) {
            $('.warn').addClass('show');
        } else {
            $('.warn').removeClass('show')
        }
        var disabled = 'disabled';
        var disabled1 = '';
        if ('disabled' == disabled) {
            $(".balance-action").find("a").eq(1).attr("href", "javascript:void(0);");
        }
        if ('disabled' == disabled1) {
            $(".balance-action").find("a").eq(0).attr("href", "javascript:void(0);");
        }
    });

    function recharge() {
        var tmp = {};
        tmp.returnUrl = 'https://8.m.tuniu.com/msite/mywallet';
        post('https://8.m.tuniu.com/msite/tnwallet/recharge', tmp);
    }

    function post(URL, PARAMS) {
        var temp = document.createElement("form");
        temp.action = URL;
        temp.method = "post";
        temp.style.display = "none";
        for (var x in PARAMS) {
            var opt = document.createElement("textarea");
            opt.name = x;
            opt.value = PARAMS[x];
            temp.appendChild(opt);
        }
        document.body.appendChild(temp);
        temp.submit();
    }
</script>
</body>
</html>